package gov.pbc.nn.kjgl.task.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

import gov.pbc.nn.core.entity.BaseEntity;

/**
 * 任务处理人
 * 
 * @author Administrator
 * 
 */
@Entity
@Table(name = "T_TASK_PROCESSOR_")
public class TaskProcessor extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Column(name = "TASK_ENTITY_ID_", length = 60)
	@PropertyDef(label = "任务实体的ID")
	private String taskEntityId;

	@Column(name = "USERNAME_", length = 60)
	@PropertyDef(label = "处理人帐号")
	private String username;
	@Column(name = "CNAME_", length = 60)
	@PropertyDef(label = "处理人姓名")
	private String cname;

	@Column(name = "PROGRESS_")
	@PropertyDef(label = "进度")
	private double progress;

	@Column(name = "REMARK_", length = 512)
	@PropertyDef(label = "处理过程描述")
	private String remark;

	public String getTaskEntityId() {
		return taskEntityId;
	}

	public void setTaskEntityId(String taskEntityId) {
		this.taskEntityId = taskEntityId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public double getProgress() {
		return progress;
	}

	public void setProgress(double progress) {
		this.progress = progress;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
